home *** CD-ROM | disk | FTP | other *** search
- // copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
- // see COPYRIGHT for reuse legalities
- //
-
-
- #import "WWRenderWrangler.h"
-
- @implementation WWRenderWrangler
-
- - init
- {
- [super init];
- cmd = NULL;
- boss = nil;
-
- return self;
- }
-
- - setCmd:(const char *)newCmd
- {
- cmd = NXCopyStringBuffer(newCmd);
- return self;
- }
-
- - setBoss:newBoss { boss = newBoss; return self; }
-
-
- - renderSelf
- {
- // the assumption is that we're running off in our own thread.
- if (cmd)
- { system(cmd);
- }
- // tell the boss we're done.
- // [boss ];
-
- return self;
- }
-
-
- @end
-